package com.woniu.supermarket.entity;

public class Stock {
    private Integer id;

    private Integer goodsId;

    private Integer stock;

    private Integer stockLimit;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getStockLimit() {
        return stockLimit;
    }

    public void setStockLimit(Integer stockLimit) {
        this.stockLimit = stockLimit;
    }

    public Stock() {
    }

    public Stock(Integer goodsId, Integer stock) {
        this.goodsId = goodsId;
        this.stock = stock;
    }
}